package com.example.service;

import com.example.consts.OrderStatus;
import com.example.pojo.entity.Orders;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


public interface OrderInfoService {
    Orders createOrderByResuId(Integer resuId,Integer jsId);

    Orders getOrdbyOrdNum(Long ordTradeNum);

    void updateStatusByOrdNum(Long ordNum, String newStatus);

//    void createPaymentInfo(Map<String,String> params);

    String getOrderStatus(Long orderNum);

    List<Orders> getNoPayOrderByDuration(Integer id,int minutes);

    String getByOrdTitleAndJsId(String ordTitle,Integer jsId);

    List<Orders> getByJsId(Integer jsId);
}
